module.exports = {
  development: {
    port: process.env.PORT || 5000,
    saltingRounds: 10,
    fileSize: 20 * 1024 * 1024, //20 MB
    mongo_options: {
      autoIndex: false, // Don't build indexes
      useNewUrlParser: true,
      useUnifiedTopology: true,
      reconnectTries: 30,
      reconnectInterval: 500, // Reconnect every 500ms
      serverSelectionTimeoutMS: 5000,
      poolSize: 10, // Maintain up to 10 socket connections
      bufferMaxEntries: 0
    }
  }
}
